<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/site/news.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			
		}
	});
});
</script>
<div class="widget" style="margin:0px;">
	<div class="widget-content">
		<div class="table-title">
			<input type="hidden" id="news_code" value="${(news.code)!''}"/>
			<table class="table table-bordered animate2 fadeInUp" style="width:100%; text-align:left;">
				<tr>
					<th style="width:80px;">起始网址</th>
					<td>${(news.starturl)!''}</td>
					<th style="width:80px;">网站名称</th>
					<td>${(news.name)!''}</td>
				</tr>
			</table>
			<table style="width:100%; margin-top:10px;" class="table table-bordered animate2 fadeInUp">
				<thead>
					<tr>
						<th style="text-align:center;">标题</th>
						<th style="text-align:center;">链接</th>
						<th style="text-align:center;">内容</th>
					</tr>
				</thead>
				<tbody id="applyDetailListBody">
					<#if ((news.itemList)?? && news.itemList?size > 0)>
						<#list news.itemList as item>
						<tr class="rep">
							<td>${(item.title)!''}</td>
							<td>${(item.url)!''}</td>
							<td>${(item.content)!''}</td>
						</tr>
						</#list>
					<#else>
						<tr>
							<td><font style="color: red;font-size: 30px; text-align:center;">没有更新的哦！</font></td>
						</tr>
					</#if>
				</tbody>     
				<tr>
					<td colspan="3" style="text-align:center;">
						<a class="btn btn-info" href="javascript:;" onclick="javascript:sys_load_handle('news');$.fn.colorbox.close();" ><i class="fontello-icon-block"></i> 关 闭</a>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>